namespace Gateway.IQuery.Menu.Result;

public class MenuDetailResult
{
    /// <summary>
    /// 菜单标识
    /// </summary>
    public string MenuId { get; set; }
    /// <summary>
    /// 菜单code名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 路由
    /// </summary>
    public string Path { get; set; }

    /// <summary>
    /// 标题
    /// </summary>
    public string Title { get; set; }

    /// <summary>
    /// icon
    /// </summary>
    public string Icon { get; set; }

    /// <summary>
    /// 类型
    /// </summary>
    public string Type { get; set; }

    /// <summary>
    /// 组件
    /// </summary>
    public string Component { get; set; }

    /// <summary>
    /// 标记
    /// </summary>
    public string Tag { get; set; }

    /// <summary>
    /// 是否隐藏
    /// </summary>
    public string Hidden { get; set; }
    /// <summary>
    /// 隐藏面包屑
    /// </summary>
    public string HiddenBreadcrumb { get; set; }

    /// <summary>
    /// 固定
    /// </summary>
    public string Affix { get; set; }

    /// <summary>
    /// 父级标识
    /// </summary>
    public string ParentId { get; set; }


    /// <summary>
    /// 序号
    /// </summary>
    public int  SeqNo { get; set; }
    
    /// <summary>
    /// 颜色
    /// </summary>
    public string Color { get; set; }

    /// <summary>
    /// 整页路由
    /// </summary>
    public string FullPage { get; set; }

    /// <summary>
    /// 高亮  子节点或详情页需要高亮的上级菜单路由地址
    /// </summary>
    public string Active { get; set; }

    /// <summary>
    /// 重定向
    /// </summary>
    public string Redirect { get; set; }
    
    /// <summary>
    /// 层级编码
    /// </summary>
    public string LevelCode { get; set; }

    /// <summary>
    /// 接口权限集合
    /// </summary>
    public List<MenuApiAuthResult> Apis { get; set; }
}